package DesignPrinciple.ComReuse.CompositeReuse;

public class PetrolCar extends Car {
    @Override
    public void move() {
        System.out.println(color.getColor() + "的油车在走了");
    }
}